package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    Page<NursingLevel> selectByPage(String name, Integer status);

    void insert(NursingLevel nursingLevel);

    void delete(Long id);

    NursingLevel getById(Long id);

    void upDateNursingLevel(NursingLevel nursingLevel);

    void updateStatus(Long id, Integer status);

    List<NursingLevelVo> getAll();
}
